package com.utooo.pojo.domain.purchase.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 采购退货管理
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_cgthglfb_2025042711064381")
public class OrderReturnDO extends BaseDO {

    /**
     * 退货单号
     */
    @TableField("comInputField102")
    private String returnNo;

    /**
     * 公司
     */
    @TableField("selectField111")
    private String company;

    /**
     * 供应商名称
     */
    @TableField("selectField116")
    private String supplierName;

    /**
     * 供应商编码
     */
    @TableField("comInputField117")
    private String supplierCode;

    /**
     * 订单编号
     */
    @TableField("selectField110")
    private String orderNo;

    /**
     * 收货单号
     */
    @TableField("selectField118")
    private String receiptNo;

    /**
     * 退换货类型
     */
    @TableField("selectField114")
    private String returnType;

    /**
     * 退货人
     */
    @TableField("userSelectField119")
    private String returnPerson;

    /**
     * 退货日期
     */
    @TableField("dateField109")
    private LocalDateTime returnDate;

    /**
     * 退货总数量
     */
    @TableField("numInputField107")
    private Integer totalReturnQuantity;

    /**
     * 退货含税金额
     */
    @TableField("numInputField120")
    private BigDecimal returnAmountIncludingTax;

    /**
     * 进货查验任务ID
     */
    @TableField("comInputField159")
    private String inspectionTaskId;
}